﻿
using Alison.EFCore.Entity;
using Swashbuckle.AspNetCore.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Alison.EFCore.Dto
{
    /// <summary>
    /// 组的模块和用户
    /// </summary>
    [SwaggerSchema(Title = "组的模块和用户GroupDataDto", Description = "权限Class")]
    public class GroupDataDto
    {
      
        public GroupDataDto()
        {
            group = new Group();
            GroupFuncs = new List<Groupfunc>();
            GroupUsers = new List<Groupuser>();
        }
        /// <summary>
        /// 组
        /// </summary>
        public Group group { get; set; } 
        /// <summary>
        /// 组所包含的模块清单
        /// </summary>
        public List<Groupfunc> GroupFuncs { get; set; }
       

        /// <summary>
        /// 组所包含用户
        /// </summary>
        public List<Groupuser> GroupUsers { get; set; } 
    }
}
